package com.yupi.yuojcodesandbox.judge.codesandbox;


import com.yupi.yuojcodesandbox.judge.codesandbox.model.ExecuteCodeRequest;
import com.yupi.yuojcodesandbox.judge.codesandbox.model.ExecuteCodeResponse;

import java.io.IOException;

/**
 * @Author:Dong
 * @Date: 2024/4/20  10:51
 * @Version 1.0
 */
public interface CodeSandbox {
    /**
     * execute code
     * @param executeCodeRequest
     * @return
     */
    ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest) throws IOException;
}
